package com.shensi.api.order.client.station;


import com.shensi.api.order.domian.station.PayOrder;
import com.shensi.common.core.constant.CloudConstant;
import com.shensi.common.core.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author mao
 */
@FeignClient(value = CloudConstant.SHENSI_ADMIN_COLLECT)
public interface PayOrderClient {

    /**
     * 审核通过
     */
    @PostMapping(path = {"/examinRefundSuccess"})
    public AjaxResult examinRefundSuccess(@RequestBody PayOrder payOrder,
                                          @RequestParam(required = false, defaultValue = "",value = "userId") Integer userId);
}
